package com.mf.all.exception;

import com.mf.all.emuns.ResultCodeEnum;

/**
 * @Author: lmf
 * @Create: 2025/3/8 20:46
 * Description:  封装自定义异常使用
 */

public class GraceException {
    public static void display(ResultCodeEnum resultCodeEnum){
        throw new ApiException(resultCodeEnum);
    }

    public static void display(String message){
        throw new ApiException(message);
    }
}
